package com.xxx.store.mapper;

import com.xxx.store.entity.District;

import java.util.List;

public interface DistrictMapper {
    /**
     * 根据父代号查询区域信息
     * @param parent
     * @return 返回区域信息
     */
    List<District> findByParent(String parent);

    String findNameByCode(String code);
}
